//
// Created by jiangpenghui on 2023/5/17.
//

#include "arr_const.h"

int const *const_q = new int[100];

const int *int_q = new int[10];

void test_local_framis() {

    Framis a;

    Framis &a_ref = a;

    Framis *a_prt = &a;


    std::cout << "引用转指针 a_prt " << a_prt << std::endl;

    Framis &b_ref = *a_prt;


}


// 重载new操作符
void *Framis::operator new(size_t) {

    return nullptr;
}

// 重载delete操作符
void Framis::operator delete(void *) {

}

